<%@ page contentType="text/html;charset=ISO-8859-1" language="java" import="java.sql.*" import="src.*" import="java.util.*" errorPage="erro.jsp?erro=ERRO: Acesso indevido." %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" href="estilo.css" type="text/css" />
<title>Buscar Curriculo</title>
</head>
<body>
<div class="box">
<h1>Cadastros</h1>
<% 	listaUsuarios listaObj = (listaUsuarios)session.getAttribute("listaObj");
	HashMap<String, Usuario> listaUser = new HashMap<String, Usuario>();
	listaUser = listaObj.getListaUsuarios();
	
	Set<String> chaves = listaUser.keySet();  
	for (String chave : chaves)
	{
		if(chave != null){
			out.println("Email: " + chave+"<br />");
			out.println("Nome: " + listaUser.get(chave).getNome());
			out.println(listaUser.get(chave).getSobrenome()+"<br />");
		}
	}
%>
<a style="float:right" href="index.jsp">Voltar</a>
<div>
</body>
</html>
